package com.jeejam.cart.dubbo;

import com.alibaba.dubbo.config.annotation.Service;
import com.jeejam.cart.sdk.api.ICartItemService;
import com.jeejam.cart.sdk.api.ICartService;
import com.jeejam.cart.sdk.dto.CartDto;
import com.jeejam.cart.sdk.dto.CartItemDto;
import org.springframework.stereotype.Component;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * Created by JACKEY on 2016/3/6.
 */
@Component
@Service(version = "1.0.0")
public class CartItemDubboService implements ICartItemService {
    @Override
    public List<CartItemDto> findForConfirmByCartId(int cartId) {
        return null;
    }

    @Override
    public CartItemDto findByProductIdAndCartId(int productId, int cartId) {
        return null;
    }

    @Override
    public void delete(int cartId) {

    }

    @Override
    public void delete(int productId, int cartId) {

    }

    @Override
    public void updateCount(int id, int count) {

    }

    @Override
    public void updateState(int id, int state) {

    }

    @Override
    public void update(int id, int count, int state) {

    }

    @Override
    public void updateCount(CartItemDto item) {

    }

    @Override
    public void updateState(CartItemDto item) {

    }
}
